package com.zt.teacher.service;

import com.zt.common.pojo.exam.Exam;
import com.zt.common.pojo.exam.ExamQuestionBank;
import com.zt.teacher.dto.ExamSummaryDTO;
import com.zt.teacher.dto.SummaryDTO;

import java.util.ArrayList;
import java.util.List;

/**
 * description:
 * author:zt
 * date:2022-01-17
 */
public interface ExamService {

    int insert(Exam exam);

    ArrayList<ExamSummaryDTO> getExamSituation(int classId);

    List<Exam> getExamByClassId(int classId);

    List<ExamQuestionBank> getQuestionByExamId(int examId);

    double getScore(String studentId, int examId);
}
